package com.tarim.streetdance.service;

import com.tarim.streetdance.model.User;
import com.tarim.streetdance.vo.Criteria;
import com.tarim.streetdance.vo.PageBean;

import java.util.List;

public interface UserService {
    //注册
    User insertSelective(User record);
    //条件查询
    List<User> selectByCondition(User record);
    //登录
    User selectForLogin(User record);
    //修改用户信息
    int updateByPrimaryKeySelective(User record);
    //根据ID查询用户
    User selectByPrimaryKey(Long id);

    PageBean<User> selectByQueryCondition(Criteria criteria, PageBean<User> pageBean);
}